<template>
    <div id='body'>
        <div id="app">
            <router-view keep-alive></router-view>
        </div>
    </div>
</template>

<script>
import mock from './mock/request'
import Vue from 'vue'
/*全局组件*/
import TitleBar from './components/TitleBar'
import TopBar from './components/TopBar'
Vue.component('title-bar', TitleBar);
Vue.component('top-bar', TopBar);

export default {
    replace: false,
}

</script>

<style>
@import '../vendor/func.css';
#body,#top-bar,.popup-module{
    max-width: 640px;
    margin: 0 auto;
}
</style>
